
<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="csrf-token" content="{{csrf_token()}}">

    <title>@yield('title')</title>

    <link href="{{asset('/libs/fonts/ic/ic.min.css')}}" rel="stylesheet" type="text/css">
    <link href="{{asset('/libs/css/bootstrap.min.css')}}" rel="stylesheet" type="text/css">
    <link href="{{asset('/libs/css/core.min.css')}}" rel="stylesheet" type="text/css">
    <link href="{{asset('/libs/css/components.min.css')}}" rel="stylesheet" type="text/css">
    <link href="{{asset('/libs/css/colors.min.css')}}" rel="stylesheet" type="text/css">
    <link href="{{asset('/libs/css/ugfont.min.css')}}" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="{{asset('/libs/css/webuploader.css')}}">


    <script src="{{asset('/libs/js/core/webuploader.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/core/jquery.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/core/bootstrap.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/core/app.min.js')}}" type="text/javascript" data-type="reload"></script>
    <script src="{{asset('/libs/js/plugin/uniform.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/switch.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/check_radios.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/switchery.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/autosize.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/jasny_bootstrap.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/interactions.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/select2.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/picker.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/date.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/time.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/anytime.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/bootbox.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/sweet_alert.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/blockui.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/http.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/pagination.min.js')}}" type="text/javascript"></script>
    <script src="{{asset('/libs/js/plugin/forminit.min.js')}}" type="text/javascript" data-type="reload"></script>

</head>
<body>

<div class="container-fluid">
    <div class="row p-10">
        <div class="panel panel-white border-top-primary">
            <div class="panel-heading">
                <h6 class="panel-title">
                    @yield('caption')
                </h6>

                <div class="heading-elements">
                    <ul class="icons-list">
                        <li><a data-action="collapse" class=""></a></li>
                    </ul>
                </div>
            </div>
            <div class="panel-body">
                @yield('content')
            </div>
        </div>
    </div>
    @yield('after')
</div>
<script>
    function reloadJs() {
        let head = $('head');
        $('[data-action]').off();
        let all = $('script[data-type="reload"]');
        $.each(all, function (i, o) {
            o.remove();
            head.prepend(o);
        });
    }
</script>

</body>
</html>
